package com.langsin.crmpro.manager;

import com.langsin.crmpro.dao.DictionaryDAO;
import com.langsin.crmpro.model.SDictionaryClass;

public class DictionaryManagerImpl implements DictionaryManager{
	private DictionaryDAO dictionaryDAO;
	
	
	public DictionaryDAO getDictionaryDAO() {
		return dictionaryDAO;
	}


	public void setDictionaryDAO(DictionaryDAO dictionaryDAO) {
		this.dictionaryDAO = dictionaryDAO;
	}
	
	public SDictionaryClass getDictionaryByCode(String code) {
		
		return dictionaryDAO.getDictionaryByCode(code);
	}
	

}
